package com.fau.wmbj.server.storage;

import lombok.extern.slf4j.Slf4j;

import java.io.File;
import java.io.IOException;

/**
 * TODO
 *
 * @author jiawei
 * @version 1.0
 * @datetime 2024/6/28 下午12:01
 */
@Slf4j
public class Constants {
    public static String REALPATH;
    static {
        try {
            REALPATH = new File(Constants.class.getResource("/").getPath()).getParentFile().getParentFile().getCanonicalPath();
        } catch (IOException exception) {
            exception.printStackTrace();
            log.error(exception.getMessage());
        }
    }
}
